@import url("https://fonts.googleapis.com/css2?family=Tapestry&display=swap");
@import url(../all.min.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  max-width: 100%;
  height: 100vh;
  width: 100%;
  background-color: #f5f5f5;
}

.heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #06224a;
  backdrop-filter: blur(5px) saturate(200%);
  -webkit-backdrop-filter: blur(5px) saturate(200%);
  top: 0;
  border: none;
  color: white;
  height: auto;
  padding-left: 10px;
  width: 100%;
  position: sticky;
  z-index: 1;
}

.heading h1 {
  position: relative;
  width: auto;
  margin: auto;
  text-align: center;
  font-family: "Tapestry", cursive;
  font-size: 50px;
}

.heading span {
  cursor: pointer;
  font-size: 25px;
  margin-left: 0.5em;
}

.heading p {
  width: 100%;
  text-align: center;
  color: #ebebeb;
  padding: 0.2em;
  text-transform: capitalize;
  font-family: "Agency FB";
  font-size: smaller;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey;
  border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  margin: 5px;
  background: rgb(96, 118, 129);
  border: 1px solid rgba(245, 245, 245, 0.52);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(96, 118, 129);
}

/* The side navigation menu */
.sidenav {
  height: 100%;
  /* 100% Full-height */
  width: 0px;
  /* 0 width - change this with JavaScript */
  position: fixed;
  /* Stay in place */
  z-index: 2;
  /* Stay on top */
  top: 0;
  /* Stay at the top */
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  /* Black*/
  overflow-x: hidden;
  /* Disable horizontal scroll */
  padding-top: 60px;
  /* Place content 60px from the top */
  transition: 0.5s;
  /* 0.5 second transition effect to slide in the sidenav */
  backdrop-filter: blur(10px) saturate(200%);
  -webkit-backdrop-filter: blur(10px) saturate(200%);
}

/* The navigation menu links */
.sidenav a {
  padding: 1rem;
  text-decoration: none;
  font-size: 20px;
  color: #dad8d8;
  display: block;
  transition: 0.3s;
  display: flex;
  text-transform: capitalize;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: -6px;
  font-size: 36px;
  margin-left: 150px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s;
  padding: 0;
}

p {
  text-align: left;
}

p a {
  text-decoration: underline;
  font-size: 20px;
  color: #06224a;
  animation: blinker 5s linear 2s infinite alternate;
  -webkit-animation: blinker 1s linear 0.5s infinite alternate;
}

@keyframes blinker {
  to {
    color: skyblue;
  }
}

@-webkit-keyframes blinker {
  to {
    color: skyblue;
  }
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  margin: 1em 0;
}

h3,
.Gold,
.Blue {
  color: #06224a;
}

h3 {
  margin-top: 10px;
  text-align: center;
}

ol {
  padding: 1em;
  text-align: left;
}

.title {
  font-family: "Cooper Black";
  margin: 0.5em;
  line-height: 1em;
  text-align: center;
}

.articles {
  padding: 2em;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  width: 90%;
  font-size: 20px;
  border-radius: 1em;
  background-color: #0000000d;
}



.small {
  height: 65vh;
}

.Social-media:hover,
.Social-media:active,
.Social-media:focus {
  transform: scale(1.1);
}

.Social-media img {
  height: 1cm;
  width: 1cm;
  border-radius: 50%;
}

.content-end {
  display: flex;
  height: 70vh;
  text-align: center;
}

footer {
  margin: 5px 0;
  background-color: rgb(0, 0, 0);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  width: 50%;
  padding: 1em;
}

footer h1 {
  font-size: 20px;
  font-family: "Tapestry", cursive;
  color: #b4b4b4;
}

center {
  color: #b4b4b4;
}

footer .features {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 2% 1%;
  margin: auto;
}

footer .links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* width: 110px; */
  text-decoration: none;
  text-transform: capitalize;
  background-color: rgba(100, 148, 237, 0.05);
  height: 3cm;
  margin: 5px;
  border-radius: 1em;
  padding: 15px;
}

footer a {
  text-align: center;
}

footer a p {
  color: #b4b4b4;
  font-size: xx-small;
}

footer a img {
  height: 1.5cm;
  width: 1.5cm;
}

footer a:hover {
  transform: scale(1.1);
  transition: all 0.5s linear;

  background-color: rgba(100, 148, 237, 0.07);
}

footer p {
  text-align: center;
}

.delicated-to {
  text-align: left;
  color: #b4b4b4;
  background-color: rgba(100, 148, 237, 0.05);
  padding: 1em;
  text-align: left;
  border-radius: 1em;
}

.delicated-to,
footer .my_info {
  width: 100%;
  line-height: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer .my_info p,
footer .my_info p a {
  color: #b4b4b4;
}

footer .my_info p a {
  text-decoration: none;
  animation: blinker 2s linear 2s infinite alternate;
  -webkit-animation: blinker 1s linear 0.5s infinite alternate;
  font-size: 12px;
}

@keyframes blinker {
  to {
    color: cornflowerblue;
    text-decoration: underline;
  }
}

@-webkit-keyframes blinker {
  to {
    color: cornflowerblue;
    text-decoration: underline;
  }
}

footer .my_info p:last-child {
  font-family: "Tapestry", cursive;
  font-size: 20px;
}

.portfolio {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2em 1em 2em 1em;
  width: 210px;
}

#profile {
  width: 120px;
  height: 120px;
  border-radius: 20%;
  padding: 0.5em;
}

.info h1 {
  font-size: 25px;
  margin-bottom: 10px;
}

.portfolio .info .links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.portfolio .info .links a {
  width: 1cm;
  height: 1cm;
  border-radius: 15px;
}

.portfolio .info .links a img {
  border-radius: 50%;
}

@media screen and (min-width: 1500px) {
  .heading p {
    font-size: medium;
  }

  footer,
  footer .my_info p a {
    font-size: small;
  }

  footer .my_info p:last-child {
    font-size: 25px;
  }
}

@media screen and (min-width: 1700px) {
  .heading span {
    font-size: 35px;
  }

  .heading h1 {
    font-size: 60px;
  }

  .heading p {
    font-size: 20px;
  }

  .title {
    font-size: 35px;
    margin: 0.2em;
  }

  .articles,
  p a {
    font-size: 25px;
  }

  .portfolio {
    width: 270px;
  }

  .Social-media {
    width: 4.5cm;
  }

  footer,
  footer .my_info p a {
    font-size: 15px;
  }

  footer .my_info p:last-child {
    font-size: 30px;
  }
}

@media screen and (min-width: 1900px) {
  .heading span {
    font-size: 40px;
  }

  .sidenav .closebtn {
    font-size: 60px;
  }

  .sidenav a {
    padding: 1rem;
    text-decoration: none;
    font-size: 35px;
  }

  .heading h1 {
    font-size: 70px;
  }

  .heading p {
    font-size: 30px;
  }

  .title {
    font-size: 40px;
  }

  .articles,
  p a {
    font-size: 30px;
  }

  .portfolio {
    width: 370px;
  }

  #profile {
    width: 130px;
    height: 130px;
  }

  .info h1 {
    font-size: 35px;
  }

  .Social-media {
    width: 6cm;
  }

  .Social-media img {
    height: 37px;
    width: 37px;
  }

  footer,
  footer .my_info p a {
    font-size: 20px;
  }

  footer .my_info p:last-child {
    font-size: 35px;
  }
}

@media screen and (max-width: 800px) {
  /* The side navigation menu */
  .sidenav {
    position: absolute;
    /* Stay in place */
  }

  .title {
    margin: 0.5em auto;
    font-size: 23px;
  }

  .articles {
    border-radius: 0;
    padding: 1em;
    line-height: 1.2rem;
    height: auto;
    width: 98%;
    margin: 1%;
    font-size: 18px;
  }

  .portfolio {
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2em 1em 2em 1em;
    width: 210px;
  }

  footer .links {
    width: 90px;
    padding: 0px 5px;
    height: 100px;
  }

  footer .links img {
    height: 1cm;
    width: 1cm;
  }
}

@media only screen and (max-width: 680px) {
  .content-end {
    flex-direction: column;
    height: auto;
  }

  .portfolio {
    margin: 1.5cm auto;
  }

  footer {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .title {
    font-size: larger;
  }

  footer .delicated-to {
    width: 100%;
  }

  footer .my_info {
    margin: 2% auto;
  }
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
}

/* On smaller screens, where height is less than 400px, change the style of the sidenav (less padding and a smaller font size) */

@media screen and (max-width: 400px) {
  .heading {
    padding: 0;
  }

  .heading h1 {
    font-size: 32px;
  }

  .content {
    scroll-snap-align: none;
  }

  .articles {
    font-size: 15px;
  }

  .title {
    font-size: large;
  }

  p a {
    font-size: 15px;
  }

  #profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }

  footer .my_info p:last-child {
    font-size: 15px;
  }

}

@media screen and (max-width: 375px) {

  footer .features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
  }

  footer .features .links {
    width: 100px;
    height: 100px;
  }

  footer .features .links:first-child {
    width: 100px;
  }

  footer .features .links:nth-child(2) {
    width: 160px;
  }

  footer .features .links:last-child {
    width: 280px;
  }

  footer .links img {
    height: 1.3cm;
    width: 1.3cm;
  }
}

/* Add an active class to the active dropdown button */
.Active {
  color: white;
  background: none;
  font-weight: 500;
}
